package ui;

import dominio.Planta;
import dominio.Zombie;
import home.HomePlantas;
import home.HomeZombies;
import org.apache.wicket.Page;
import org.apache.wicket.protocol.http.WebApplication;
import org.uqbar.commons.utils.ApplicationContext;
import ui.PrincipalPage;

@SuppressWarnings("all")
public class PlantasVsZombiesApplication extends WebApplication {
  protected void init() {
    super.init();
    ApplicationContext _instance = ApplicationContext.getInstance();
    HomeZombies _homeZombies = new HomeZombies();
    _instance.<HomeZombies>configureSingleton(Zombie.class, _homeZombies);
    ApplicationContext _instance_1 = ApplicationContext.getInstance();
    HomePlantas _homePlantas = new HomePlantas();
    _instance_1.<HomePlantas>configureSingleton(Planta.class, _homePlantas);
  }
  
  public Class<? extends Page> getHomePage() {
    return PrincipalPage.class;
  }
}
